<?php
$MAIN_FONT = 'Tahoma,sans-serif';
$MAIN_FONT_SIZE = '8pt';

$C_1 = 'gray';
$C_2 = '#919191';
$C_3 = '#ababab';
$C_4 = '#424242';
$C_4_HOVER = 'rgba(0, 0, 0, 0.16)';

$C_TABS = '#cfcfcf';
$C_TABS_COUNT = 'gray';
$C_TABS_BORDER = 'gray';
$C_TABS_BORDER_USE = '#1a1a1a';
?>
<style type="text/css">
  .ptb_bg{background-image:url() !important;}
  #ptb{}
  #ptb *{padding:0; margin:0; font: <?php echo $MAIN_FONT_SIZE;?> <?php echo $MAIN_FONT;?>; background: none; text-decoration: none; border:none;}
  #ptb .nowrap{white-space: nowrap;}
  #ptb table{font-family: <?php echo $MAIN_FONT;?>; font-size: <?php echo $MAIN_FONT_SIZE;?>; color:<?php echo $C_1;?>; font-weight: normal; border: 0; padding: 0; border-collapse:collapse; margin: 10px; width:98%;}
  #ptb table thead tr{border: 1px solid transparent; border-bottom: none;}
  #ptb table thead th{text-align: center;}
  #ptb table tbody tr:hover{}
  #ptb table tbody tr.total{border-top: 1px solid gray;border-bottom: 1px solid gray;}
  #ptb table tbody tr:hover{background-color: <?php echo $C_4_HOVER;?>;}
  #ptb table td{padding:1px 5px; text-align: left; vertical-align: top; border: 1px dotted <?php echo $C_4;?>;}
  #ptb table td.num{text-align: center; padding: 1px 2px; border: none; width: 20px;}
  #ptb table td.empty{text-align: center; padding: 10px;}
  #ptb table td.tRight,#ptb table th.tRight{text-align: right;}
  #ptb table td.tCenter,#ptb table th.tCenter{text-align: center;}
  #ptb table td.graph{padding: 0;}
  #ptb table td.graph div.line{background-color: <?php echo $C_2;?>; width: 0; height: 2px; float: right;}
  #ptb table td.graph div.val{padding: 1px 5px;}
  #ptb table.centr td{text-align: center;}
  #ptb_toolbar{position: fixed; height: 20px; top:0; right:0; z-index: 100501; border: 1px solid <?php echo $C_1;?>; border-top: none; border-radius: 0 0 0 5px; color: <?php echo $C_3;?>; padding: 2px 0; list-style: none;}
  #ptb_toolbar a{color: <?php echo $C_3;?>;}
  #ptb_toolbar li{display: none;}
  #ptb_toolbar li span.icon{width: 16px; height:16px; display: inline-block;vertical-align: top; background: url() no-repeat left top;}
  #ptb_toolbar li span.total{color:<?php echo $C_1;?>;}
  #ptb_toolbar li.cache    span.icon{background-position: -0px 0;}
  #ptb_toolbar li.files    span.icon{background-position: -16px 0;}
  #ptb_toolbar li.ram{cursor: auto;}
  #ptb_toolbar li.ram      span.icon{background-position: -32px 0;}
  #ptb_toolbar li.modules  span.icon{background-position: -48px 0;}
  #ptb_toolbar li.route    span.icon{background-position: -64px 0;}
  #ptb_toolbar li.sql      span.icon{background-position: -80px 0;}
  #ptb_toolbar li.time{cursor: auto;}
  #ptb_toolbar li.time     span.icon{background-position: -96px 0;}
  #ptb_toolbar li.vars     span.icon{background-position: -112px 0;}
  #ptb_toolbar li.custom   span.icon{background-position: -128px 0;}
  #ptb_toolbar li.info     span.icon{background-position: -144px 0; cursor: help;}
  #ptb_toolbar li.info a{text-decoration: none;}
  #ptb_toolbar li.hide     span.icon{background-position: -160px 0;}
  #ptb_toolbar li.show {border: none; display: block;}
  #ptb_toolbar li.show     span.icon{background-position: -176px 0;}
  #ptb_toolbar li{float: left; border-left: 1px solid <?php echo $C_1;?>; padding: 2px 4px; margin: 0; cursor: pointer;}
  #ptb_toolbar li img{margin-right: 2px;}
  #ptb_toolbar li:first-child{border:none;}
  #ptb_data{position: absolute; top:0; left: 0; width: 100%; border-bottom: 1px solid gray; padding:0; margin-top: -1px; z-index: 100499; color:<?php echo $C_1;?>;}
  #ptb_data .ptb_data_cont{display: none; margin-top: 6px;}
  #ptb_data ul.ptb_tabs{list-style: none; margin: 0 0 -1px 15px; padding:0; overflow: hidden; font-size: 8pt; color: <?php echo $C_TABS;?>;}
  #ptb_data ul.ptb_tabs span{color:<?php echo $C_TABS_COUNT;?>;}
  #ptb_data ul.ptb_tabs li{height: 14px; border: 1px solid <?php echo $C_TABS_BORDER;?>; float: left; margin:0 3px; padding: 2px 3px; cursor: pointer; border-radius: 5px 5px 0 0;}
  #ptb_data ul.ptb_tabs li.use{border-bottom: 1px solid <?php echo $C_TABS_BORDER_USE;?>; color:white;}
  #ptb_data .ptb_tab_cont {border-top: 1px solid <?php echo $C_TABS_BORDER;?>; display: none; margin-bottom: 10px;}
  #ptb_data a.explain{border-bottom:1px solid <?php echo $C_4;?>; font-size: 8pt; color:<?php echo $C_4;?>; text-decoration: none;}
  #ptb_data pre{background-color: transparent; color:<?=$C_1;?>; }
  #ptb_data pre.source{overflow: auto; white-space: pre-wrap; font-size: 9pt; line-height: 12pt; margin: 4px 0; border-radius: 3px; padding: 4px 5px 4px 8px; background-color: transparent; color: white;}
  #ptb_data pre.source span.line { display: block; }
  #ptb_data pre.source span.highlight { background: #414040; }
  #ptb_data pre.source span.line span.num { color: #666; }
  <!-- highlight -->
  #ptb_data pre.sql .imp {font-weight: bold; color: red;}
  #ptb_data pre.sql .kw1 {color: #388fff;}
  #ptb_data pre.sql .co1 {color: #808080;}
  #ptb_data pre.sql .co2 {color: #808080;}
  #ptb_data pre.sql .coMULTI {color: #808080;}
  #ptb_data pre.sql .es0 {color: #000099; font-weight: bold;}
  #ptb_data pre.sql .br0 {}
  #ptb_data pre.sql .st0 {color: #ff9933;}
  #ptb_data pre.sql .nu0 {color: #66ff00;}
  <!-- /highlight -->
  
</style>